
import java.util.Scanner;

public class Music {
    private String name;
    private String password;


    public Music() {
    }
public Music(String name){
        this.name=name;
}
    public Music(String name, String password) {
        this.name = name;
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

public void show(){
    System.out.println("用户名："+getName()+"密码"+getPassword());
}


}

